package com.study;

public class IfDemo2 {
    public static void main(String[] args) {
        int week = 3;
        if (week == 1) {
            System.out.println("今天周一");
        } else if (week == 2) {
            System.out.println("今天周二");
        } else if (week == 3) {
            System.out.println("今天周三");
        } else if (week == 4) {
            System.out.println("今天周四");
        } else if (week == 5) {
            System.out.println("今天周五");
        } else if (week == 6) {
            System.out.println("今天周六");
        } else if (week == 7) {
            System.out.println("今天周日");
        } else {
            System.out.println("疯了？");
        }
    }
}
